import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/order_detail_entity.g.dart';
import 'dart:convert';

import 'package:library_base/entities/generated/json/order_goods_res_entity.g.dart';

@JsonSerializable()
class OrderGoodsResEntity{
  late String goodsName;
  late String goodsBarCode;
  late double mainWeight;
  late double subWeight;
  late double sumWeight;

  OrderGoodsResEntity();

  factory OrderGoodsResEntity.fromJson(Map<String, dynamic> json) => $OrderGoodsResEntityFromJson(json);

  Map<String, dynamic> toJson() => $OrderGoodsResEntityToJson(this);

  @override
  String toString() => json.encode(this);

}
